extends StateBase

var animations:AnimatedSprite2D
var data
var battleField:BattleField


func enter():
	battleField = get_tree().get_nodes_in_group("BattleField")[0]
	animations = ownerNode.animations
	data = ownerNode.data
	animations.play("Walk" + data.battleFace)
	
	battleField.removeWalkableHighlight()
	battleField.drawWalkableHighlight(data.battlePos, data.getPropMove())
	

func exit():
	pass


func run(delta):
	pass

